package com.leps.nq.op.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 补液日志表
 * </p>
 *
 * @author hex
 * @since 2022-05-22
 */
@Getter
@Setter
@TableName("op_replenish")
@ApiModel(value = "OpReplenish对象", description = "补液日志表")
public class OpReplenish implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("补液记录ID")
    @TableId(value = "replenish_id", type = IdType.AUTO)
    private Long replenishId;

    @ApiModelProperty("队伍ID")
    private Integer teamId;

    @ApiModelProperty("队伍名称")
    //@TableField(fill = FieldFill.INSERT)
    private String teamName;

    @ApiModelProperty("补液日期")
    private Date replenishTime;

    @ApiModelProperty("泵注速度(L/d), 只对威远地区有效")
    private Double pumpInjectionSpeed;

    @ApiModelProperty("加注类型")
    private String injectionType;

    @ApiModelProperty("杀菌剂用量")
    private Double germicideDosage;
    @ApiModelProperty("杀菌剂类型")
    private String germicideType;

    @ApiModelProperty("缓蚀剂用量")
    private Double crrosionInhibitorDosage;
    @ApiModelProperty("缓蚀剂类型")
    private String crrosionInhibitorType;

    @ApiModelProperty("总液量")
    private Double dosage;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("归属场站(平台)ID")
    private Integer stationId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("归属场站(平台)名称")
    private String stationName;

    @ApiModelProperty("归属区块ID")
    private Integer areaId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("归属区块名称")
    private String areaName;

    @ApiModelProperty("归属客户ID")
    private Integer custId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("归属客户名称")
    private String custName;

    @ApiModelProperty("删除标志 (0存在 1删除)")
    @TableLogic
    private Integer delFlag;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建者")
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新者")
    private String updateBy;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新时间")
    private Date updateTime;


}
